GtkSwitch: remove unused assignment
authorPaolo Borelli <pborelli@gnome.org>
Sun, 3 Aug 2014 08:17:49 +0000 (10:17 +0200)
committerPaolo Borelli <pborelli@gnome.org>
Sun, 3 Aug 2014 08:22:41 +0000 (10:22 +0200)
gtk/gtkswitch.c

index 9ba4b65b207525d9ae1720c2e38791953aa51548..e7f010de35545c5e642e948b4756f0786f5dfce4 100644 (file)
@@ -147,9 +147,6 @@ gtk_switch_multipress_gesture_released (GtkGestureMultiPress *gesture,
 {
   GtkSwitchPrivate *priv = sw->priv;
   GdkEventSequence *sequence;
-  GtkAllocation allocation;
-
-  gtk_widget_get_allocation (GTK_WIDGET (sw), &allocation);
 
   sequence = gtk_gesture_single_get_current_sequence (GTK_GESTURE_SINGLE (gesture));